New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure CI workflow #12002
Restructure CI workflow #12002
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/27934/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f9c82f9:
|
e0ea750
to
303ec4a
Compare
run: | | ||
BABEL_ENV=test-legacy make -j bootstrap | ||
make build-plugin-transform-runtime-dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step is moved to test executor (instead of the Build job) because it is IO-intensive (1000 files), caching and restoring are slower than generating.
303ec4a
to
38d0ea9
Compare
dfa8399
to
f9c82f9
Compare
This PR restructured current CI workflow and move linux node unit tests to GitHub workflows.
In GitHub workflows we shared built babel artifacts across multiple unit test executors, thus we can reduce the overall build time in our CI. The new CI now always build Babel on latest node.js versions. If node.js latest incurs any regression, we can always pin the node version of the build step.
A comparison of CI time between
main
and this PR.main
Data Source
main:
Travis CI: https://travis-ci.com/github/babel/babel/builds/181136937
GitHub CI: https://github.com/babel/babel/actions/runs/222502540
This PR:
Travis CI: https://travis-ci.com/github/JLHwung/babel/builds/181140151
GitHub CI: https://github.com/JLHwung/babel/actions/runs/222540002
This PR includes commits from #11781 , I will rebase later. You can review the actual changes on https://github.com/babel/babel/pull/12002/files/b9904078208917d338292ccad5ec544e7e53ae44..38d0ea99f83d5ec07b94a3bd0e2ddc2647c0bfdd